package com.ruoyi.dynamic.model.config;


import lombok.Data;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Data
@Component
@ConfigurationProperties(prefix = "rtc.pay")
@ConditionalOnProperty(name = "app-key",prefix = "rtc.pay")
public class RtcConfig {
    private String appKey;
    private String appSecret;
    private String auth;
    private String userChannelUrl;
}
